<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/static/admin/css/bootstrap.css">
	<script src="/static/admin/js/jquery-2.1.0.min.js"></script>
	<script src="/static/amdin/js/bootstrap.min.js"></script>

</head>
<body>
	<div class="container cus-container">
        <h3 class="text-center" style="font-weight:bold">添加Banner</h3>

        <form action="/admin/banner/addHandle" method="post" enctype="multipart/form-data">

            <div class="form-group">
                <label for="user">Banner图片：</label>

                <p>
                    <input type="file" class="form-control" name="file">
                </p>
            </div>

            <div class="form-group">
                <label for="user">Banner状态：</label>
                <label class="radio-inline">
                    <input type="radio" name="isShow" id="inlineRadio1" value="1" checked>显示
                </label>
                <label class="radio-inline">
                    <input type="radio" name="isShow" id="inlineRadio1" value="0">隐藏
                </label>
            </div>

            <div class="form-group">
              <label for="user">关联的路线：</label>
              <select class="form-control" name="routeId">
                  <option  th:each="route:${routeList}" th:value="${route.routeId}" th:text="${route.routeName}"></option>
				</select>
            </div>
            <div class="text-center">
                <input type="submit" class="btn btn-primary" value="提交">
                <button type="reset" class="btn btn-default">重置</button>   
            </div>         
          </form>
       
    </div>
</body>
</html>